* {
  padding: 0;
  margin: 0;
  list-style: none;
}

html, body, #root, .container {
  width: 100%;
  height: 100%;
}
html {
  // font-size: 100px;
  // iphone6  26.666667vw;  100 / 375 * 100
  // iphone5  31.27vw       100 / 320 * 100
  font-size: 26.666667vw;
}

@media screen and (min-width: 960px) {
  html {
    font-size: 100px;
  }
}
body {
  font-size: 12px;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    .header {
      height: 0.44rem;
      background-color: #f66;
    }
    .content {
      flex: 1;
      overflow: auto;
    }
  }
  .footer {
    height: 0.5rem;
    background-color: #efefef;
    ul {
      width: 100%;
      height: 100%;
      display: flex;
      a {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: #666;
        &.active {
          color: #f66;
        }
        
        span {
          font-size: 0.24rem;
        }
        p {
          font-size: 0.12rem;
        }
      }
    }
  }
}
.tip {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  display: none;
  justify-content: center;
  align-items: center;
}

@media screen and (orientation: landscape) {
  .tip {
    display: flex;
  }
}